﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ashlen.Portal.Core;

namespace Ashlen.Portal.Core.DataInterfaces
{
    public interface IUtilityDao
    {
        void SendEmail(string applicationId, bool isHtml, string from, string to, string cc, string bcc, string subject, string body);
        object GetUnprocessedEmails(int rowCount);
        void UpdateEmailStatus(int emailID, EmailStatus status, string message);
        string GetFromEmailTemplate(string templateId);
        void Log(string applicationID, LogSeverity severity, string category, string stackTrace, string message);
        string GetConfig(string applicationId, string name);
        object GetConfigBySection(string applicationId, string group);
    }
}
